<template>
    <div>
        <button type="primary" @click="onClick">登录</button>
<van-dialog
   v-model="isShow"
   show-cancel-button
   :beforeClose="beforeClose"
>
<p style="padding:0.2rem;height:0.5rem">是否确认注销账号？</p>
   <!-- <van-field
      v-model="userName"
      label="用户名"
      placeholder="请输入姓名"
   />
   <van-field
      v-model="userPass"
      label="密码"
      placeholder="请输入密码"
   /> -->
</van-dialog>
    </div>
</template>

<script>
export default {
    name:'Ifyes',
data() {
  return {
    isShow: false,
  };
},
methods: {
onClick() {
    this.isShow = !this.isShow
},

  }
}
</script>

<style>

</style>